#pragma once
#include "article.h"
class Bread :
	public Article
{
public:
	Bread(void){weight = 0;}
	Bread(string name, double price, int number, double customerPrice, double weight):
		Article(name, price, number, customerPrice) {this->weight = weight;}
	~Bread(void);
	void SetWeight(double &weight){this->weight = weight;}
	double GetWeight(){return weight;}
	void Write()
	{
		cout << "Bread: ";
		cout << name << ", " << price << ", " << number << ", " << customerPrice << ", " << weight << endl;
	}
protected:
	double weight;
};

